package com.dongdongshop.service.specification;

import com.dongdongshop.pojo.specification.TbSpecification;
import com.dongdongshop.pojo.specification_option.TbSpecificationOption;

import java.util.List;

public interface SpecificationService {
    List<TbSpecification> listSpecification(String specName);

    int insertSpecification(List<TbSpecificationOption> tbSpecificationOptions, TbSpecification specification);

    TbSpecification getSpecification(Long id);

    int updateSpecification(List<TbSpecificationOption> tbSpecificationOptions, TbSpecification tbSpecification);

    int deleteSpecificationBatch(Long[] ids);

    List<TbSpecification> listSpecificationEcho();
}
